package org.example.abstract_factory;

/**
 * @author Zhang Yu
 * @description: TODO
 * @date 2024/5/17 9:21
 */
public class FastHtmlDocument implements HtmlDocument{

    public FastHtmlDocument(String path) {
        System.out.println("FastHtmlDocument path = " + path);
    }

    @Override
    public void save(String path) {
        System.out.println("FastHtmlDocument save called");
    }

    @Override
    public String toHtml() {
        System.out.println("FastHtmlDocument toHtml called");
        return null;
    }
}
